/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package healthcare;

import java.awt.*;
import java.awt.event.*;
import java.util.Random;
import javax.swing.*;
/**
 *
 * @author Doug Keeley
 */
public class Healthcare {

    //TEST CHANGE MADE BY DOUG  (testing svn)
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        
        TextFrame frame = new TextFrame();
        frame.setTitle("Healthcare Provider Database");
        frame.show();
        
    }
}


class TextFrame extends JFrame {
    private ClientPanel clientPanel;

    public TextFrame()  {
        final int DEFAULT_FRAME_WIDTH = 850;
        final int DEFAULT_FRAME_HEIGHT = 600;
        setSize(DEFAULT_FRAME_WIDTH, DEFAULT_FRAME_HEIGHT);
        addWindowListener(new WindowCloser());

        // construct components

        clientPanel = new ClientPanel();
      
        Container contentPane = getContentPane();
        
        contentPane.add(clientPanel, "Center");
    }
   
    private class WindowCloser extends WindowAdapter  {  
        public void windowClosing(WindowEvent event)  {
            System.exit(0);
        }
    }
} //TextFrame